.class public Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder;
.super Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;
.source "FileTransferClassifyImageHolder.java"


# instance fields
.field public c:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const v0, 0x7f0c016b

    .line 1
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;-><init>(Landroid/content/Context;I)V

    return-void
.end method


# virtual methods
.method protected a(Landroid/view/View;)V
    .locals 1

    const v0, 0x7f090d74

    .line 1
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder;->c:Landroid/widget/ImageView;

    const v0, 0x7f090207

    .line 2
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/CheckBox;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;->a:Landroid/widget/CheckBox;

    const/4 v0, 0x0

    .line 3
    invoke-virtual {p1, v0}, Landroid/widget/CheckBox;->setClickable(Z)V

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;->a:Landroid/widget/CheckBox;

    invoke-virtual {p1, v0}, Landroid/widget/CheckBox;->setChecked(Z)V

    return-void
.end method

.method public a(Ljava/lang/Object;)V
    .locals 2

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;->a:Landroid/widget/CheckBox;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 6
    check-cast p1, Les/pl;

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder;->c:Landroid/widget/ImageView;

    invoke-static {p1, v0}, Lcom/estrongs/android/icon/loader/c;->a(Lcom/estrongs/fs/g;Landroid/widget/ImageView;)V

    .line 8
    sget-boolean v0, Lcom/estrongs/android/view/y;->q1:Z

    if-eqz v0, :cond_0

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;->a:Landroid/widget/CheckBox;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setVisibility(I)V

    goto :goto_0

    .line 10
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;->a:Landroid/widget/CheckBox;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setVisibility(I)V

    .line 11
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;->a:Landroid/widget/CheckBox;

    iget-boolean v1, p1, Les/pl;->s:Z

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferViewHolder;->a:Landroid/widget/CheckBox;

    new-instance v1, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder$a;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder$a;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder;Les/pl;)V

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setOnCheckedChangeListener(Landroid/widget/CompoundButton$OnCheckedChangeListener;)V

    .line 13
    iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    new-instance v1, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder$b;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder$b;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder;Les/pl;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 14
    iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder$c;-><init>(Lcom/estrongs/android/pop/app/filetransfer/adapter/FileTransferClassifyImageHolder;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnLongClickListener(Landroid/view/View$OnLongClickListener;)V

    return-void
.end method
